.head{
    position: static;
    margin-bottom: 50px;
}
.head .right button:nth-child(1){
    border-color: #aaa;
    color: #000;
}
.head .nav li a{
    color: #000;
}
.head .nav .below a{
    color: #1271f2;
}
.head .nav .below{
    border-bottom: 3px solid #1271f2;
}

/* 主体部分内容 */
 
/*---------- API服务 ---------*/
 .serve-title{
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 25px;
}
.serve span{
    display: inline-block;
    height: 25px;
    margin-right: 15px;
    margin-top: 15px;
    border: 1px solid #aaa;
    border-radius: 10px;
    padding: 5px 15px; 
    line-height: 24px;
    cursor: pointer;
}
.serve span.active{
    color:#1271f2;
    border-color:#1271f2 ;
}



/*--------- API详细内容 -----------*/
.API-detail{
    margin-top: 65px;
}
.API-detail .title{
    width: 400px;
    position: relative;
}
.API-detail .title span{
    font-weight: bold;
    font-size: 16px;
    margin-right: 20px;
}
.API-detail .title input{
    width: 240px;
    height: 25px;
    border: none;
    border-radius: 15px;
    text-indent: 2em;
    outline: none ;
    background: url(./../images/magnifier.png) no-repeat;
    background-position: 210px ;
    cursor: pointer;
    background-color: #f4f4f4;
}

.API-detail .title input:focus{
   border: 1px solid #aaa;
}  
.API-detail .content{
    margin-top: 20px;
}
.API-detail .content ul{
    float: left;
    margin-right: 20px;
}
.API-detail .content ul:nth-child(5){
    margin-right: 0;
}
.API-detail .content ul li{
    width: 222px;
    height: 210px;
    border: 1px solid #eee;
    margin-bottom: 15px;
    text-align: center;
    padding-top: 60px;
    overflow: hidden;
    position: relative;
}
/* .API-detail .content ul li.active{
    overflow: visible;
} */
.API-detail .content ul li img{
    height: 74px;
}
.API-detail .content ul li p{
    font-size: 15px;
    line-height: 50px;
}
.API-detail .content ul li span.red{
    color: #ff546b;
}
.API-detail .content ul li span.green{
    color: #29c287;
}
.API-detail .content ul li .content-top{
    transform: translateY(0);
    transition: all 0.5s;
}
.API-detail .content ul li .content-top.se{
    transform: translateY(-20px);
}
.API-detail .content ul li .apply-for{
    width: 190px;
    height: 30px;
    background-color: #00bdff;
    margin: 0 auto;
    line-height: 30px;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    margin-top: 20px;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s;
}
.API-detail .content ul li .apply-for.on{
    transform: translateY(0);
    opacity: 1;
}

/* 左上角有企业专用加上Enterprise-dedicated类名就可以了 */
.API-detail .content ul li.Enterprise-dedicated::before{
    content: "企业专用";
    display: inline-block;
    width: 60px;
    height: 20px;
    background-color: #e5f8ff;
    color: #00bdff;
    position: absolute;
    top: 12px;
    left: 10px;
}

.API-detail .Switch-the-page{
    width: 410px;
    height: 30px;
    margin: 0 auto;
    margin-top: 54px;
    line-height: 30px;
    text-align: center;
}
.API-detail .Switch-the-page span{
    margin: 0 12px;
    font-size: 15px;
    cursor: pointer;
}
.API-detail .Switch-the-page a{
    color: #a5c3ff;
}
.API-detail .Switch-the-page span.pitch-on{
    display: inline-block;
    margin-top: 6px;
    width: 25px;
    height: 24px;
    border-radius: 17px;
    background-color: #85e0ff;
    text-align: center;
    color: #ffffff;
    line-height: 24px;
}
.API-detail .Switch-the-page div.active{
    display: none;
}



/* 模态框 */

.main{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
}
.main-right{
    background-color: #fff;
    width: 400px;
    height: 550px;
    padding: 0 10px;
    padding-top: 20px;
    text-align: center;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.main-right .title-log{
    height: 40px;
    margin-left: 50px;
    margin-bottom: 45px;
}
.main-right .register{
    display: inline-block;
    width: 68px;
    height: 30px;
    font-size: 16px;
    margin-right: 50px;
    position: relative;
    cursor: pointer;
}
.main-right .register.ss::after{
    content: "";
    display: inline-block;
    width: 3px;
    height: 10px;
    background-color: #ccc;
    position: absolute;
    right: -30px;
    bottom: 40%;
}
.main-right span:nth-child(3){
    margin-right: 0;
}

.main-right .register.active{
    color: #52d5ff;
}
.main-right .register.active::after{
    content: "";
    display: inline-block;
    width: 40px;
    height: 3px;
    background-color: #00bdff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.main-right .account{
    position: relative;
    display: none;    /* 让页面隐藏 */
}

.main-right .account input{
    width: 100%;
    height: 30px;
    border: none;
    border-bottom: 1px solid #aaa;
    text-indent: 3em;
    outline: 0;
}
.main-right .account input:nth-child(1){
    margin-top: 35px;
    margin-bottom: 28px;
    background: url(./../images/loginIcon.png) no-repeat;
    background-position: -55px 0;
}
.main-right .account input:nth-child(2){
    margin-bottom: 20px;
}
.main-right .account span{
    width: 25px;
    height: 30px;
    background: url(./../images/loginIcon.png) no-repeat;
    background-position: -25px 0;
    position: absolute;
    left: 0;
    bottom: 110px;
}
.main-right .account .password{
    text-align: right;
    margin-bottom: 20px;
}
.main-right .account .password a{
    color: #00bdff;
    font-size: 15px;
}
.main-right .account button{
    width: 300px;
    height: 47px;
    background-color: #03c4ff;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
.main-right .codes{
    width: 290px;
    height: 240px;
    margin: 0 auto;
    margin-top: 50px;
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    text-align: center;
    display: none;
    
}
.main-right .on{     /* 加上active让页面显示 */
    display: block;
}
.main-right .codes img{
    margin-top: 38px;
    height: 105px;
}
.main-right .codes p:nth-child(2){
    margin: 20px 0;
    font-size: 16px;
}
.main-right .codes p:nth-child(3){
    font-size: 14px;
}

.main-right .footer{
    font-size: 14px;
    color: #aaa;
    margin-top: 20px;
    text-align: left;
}
.main-right .footer a{
    font-size: 14px;
    color: #00bdff;
}
.main-right .footer a::after{
    content: "";
    display: inline-block;
    width: 25px;
    height: 20px;
    background: url(./../images/loginIcon.png) no-repeat;
    background-position: -57px -32px;
    margin-left: 5px;
}